# -*- coding: utf-8 -*-
# File : id_utils.py
# Author: taoyahui
# Date : 2021/10/18
from datetime import datetime
import random
import time
import random
import socket
import hashlib

def uniqueid():
    seed = random.getrandbits(32)
    while True:
       yield seed
       seed += 1

unique_sequence = uniqueid()
# id1 = next(unique_sequence)
# id2 = next(unique_sequence)
# id3 = next(unique_sequence)
#
# print(id1, id2, id3)

